<?xml version="1.0" encoding="utf-8"?>
<FieldTypes>
  <FieldType>
	<Field Name="TypeName">ChildDropDownList</Field>
	<Field Name="ParentType">Text</Field>
	<Field Name="TypeDisplayName">Child Drop Down List</Field>
	<Field Name="TypeShortDescription">Child Drop Down List</Field>
	<Field Name="UserCreatable">TRUE</Field>
	<Field Name="ShowInListCreate">TRUE</Field>
	<Field Name="ShowInSurveyCreate">TRUE</Field>
	<Field Name="Sortable">TRUE</Field>
	<Field Name="Filterable">TRUE</Field>
	<Field Name="ShowInDocumentLibraryCreate">TRUE</Field>
	<Field Name="ShowInColumnTemplateCreate">TRUE</Field>
	<Field Name="FieldEditorUserControl">/_controltemplates/ChildDropDownListFieldEditControl.ascx</Field>
	<Field Name="FieldTypeClass">CoolStuffs.Sharepoint.CustomFields.CascadingDropDowns.Field.ChildDropDownListField,CoolStuffs.Sharepoint.CustomFields,Version=1.0.0.0,Culture=neutral,PublicKeyToken=968ece0422c73ea5</Field>

	  <PropertySchema>
		  <Fields>
			  <Field Name="ChildSiteUrl" Hidden="TRUE" DisplayName="ChildSiteUrl" MaxLength="500" DisplaySize="100" Type="Text"></Field>
			  <Field Name="ChildListName" Hidden="TRUE" DisplayName="ChildListName" MaxLength="500" DisplaySize="100" Type="Text"></Field>
			  <Field Name="ChildListTextField" Hidden="TRUE" DisplayName="ChildListTextField" MaxLength="40" DisplaySize="40" Type="Text"></Field>
			  <Field Name="ChildListValueField" Hidden="TRUE" DisplayName="ChildListValueField" MaxLength="40" DisplaySize="40" Type="Text"></Field>
			  <Field Name="ChildJoinField" Hidden="TRUE" DisplayName="ChildJoinFiel:" MaxLength="40" DisplaySize="40" Type="Text"></Field>
		  </Fields>
	  </PropertySchema>
	  
	  <RenderPattern Name="DisplayPattern">
		  <RenderPattern Name="DisplayPattern">
			  <Switch>
				  <Expr>
					  <Column />
				  </Expr>
				  <Case Value="" />
				  <Default>
					  <HTML><![CDATA[]]></HTML>
					  <Column HTMLEncode="TRUE" />
				  </Default>
			  </Switch>
		  </RenderPattern>
    </RenderPattern>

  </FieldType>

</FieldTypes>
